<div class="admin">
    <form method="post" name="myform" id="myform" action="{:U('add')}">
        <div class="panel admin-panel">
            <div class="panel-head"><strong>商品分类添加</strong></div>
            <table class="table table-hover">
                <tr>
                    <td><span class="c-red">*</span>商品分类名称：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="stc_name" value="" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>商品分类状态：</td>
                    <td>
                        <label><input type="radio" value="1" name="stc_state" checked />开启</label>
                        <label><input type="radio" value="0" name="stc_state" />关闭</label>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td><span class="c-red">*</span>商品分类排序：</td>
                    <td>
                        <input type="text" class="inputL input_small" name="stc_sort" value="" />
                        <div class="label Validform_checktip"></div>
                    </td>
                    <td></td>
                </tr>
            </table>
            <div class="panel-foot text-center">
                <div class="form-button">
                    <input class="button bg-main" type="submit" value="确认保存">
                    <button class="button bg" type="reset">取消</button>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript">
    $("#myform").Validform({
        tiptype: 3,
        showAllError:true,
    });
    $('#myform').layer({});
</script>